package com.xiaostudy.mapper;

import com.xiaostudy.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository      //添加到容器
@Mapper         //指定为mapper类
public interface userMapper {
    //按照编号查询用户
    User GetUser(String usercount,String password);

    //根据账号查询
    User getUserByUserCount(String usercount);

}
